<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/"
          xmlns:xi="http://www.w3.org/2001/XInclude" lang="en">
        <!-- Simple genshi template for walking the leonardo file system -->

         <!--! This is the site layout -->
        <xi:include href="page.html" />
        <xi:include href="directory.html" />
        
        <head>
        <!-- We'll be using the javascript helpers later, so let's make sure we have them -->
        ${Markup(h.javascript_include_tag(builtins=True))}
        </head>
        <body>
            <div class="mainPage">
                <form action="$c.action" method="POST" enctype="multipart/form-data">
                    <table>
                        <tr>
                        <th>Path</th>
                        <td><input type="text" name="resource" value="$c.def_path_name" size="50"/></td>
                        </tr>
                        <tr>
                        <th>File</th>
                        <td><input type="file" name="file_content_name"/></td>
                        </tr>
                        <tr>
                        <th>Content Type</th>
                        <td><input type="text" name="page_content_type"/></td>
                        </tr>
                        <tr>    
                        <th>&nbsp;</th>
                        <td><input type="submit" value="upload"/></td>
                        </tr>
                    </table>
                </form>
                <a href="${c.path}">Cancel</a>
            </div>
        </body>
    </html>
